package com.xlh.dto.course;

import com.google.common.collect.Lists;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 资源信息
 * <p>
 * Created by lx on 2019/2/12 0012.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResourceInfoDTO {

    @ApiModelProperty(value = "创作版本资源信息")
    private List<ResourceDTO> creativeVersion = Lists.newArrayList();

    @ApiModelProperty(value = "展示版本的资源信息")
    private List<ResourceDTO> displayVersion = Lists.newArrayList();

    @ApiModelProperty(value = "本科、专科")
    private List<String> schoolTypes;

    @ApiModelProperty(value = "是否显示 true：显示  false：隐藏")
    private boolean showed = true;

    public ResourceInfoDTO(List<ResourceDTO> creativeVersion, List<ResourceDTO> displayVersion) {
        this.creativeVersion = creativeVersion;
        this.displayVersion = displayVersion;
    }
}
